
<div class="mainboxin tablebox">
  <table width="100%" cellpadding="0" cellspacing="0" class="rpgtable">    
    <tr>
      <th width="100">内容分类</th>
      <th width="200">内容标题</th>
      <th width="80">预览图</th>
      <th width="350">简 介</th>
      <!--<th width="100">文件大小</th>-->
      <th>下载</th>
    </tr>

    <% @articles.each do |article| %>
      <tr>
        <td>分类<%#=TODO: article.category %></td>
        <td><%= article %></td>
        <td><%= article.image %></td>
        <td><%= article.summary %></td>
        <td><%#= article.size %></td>
        <td><%= link_to image_tag("dicon.gif"), article %></td>
      </tr>
    <% end %>
  </table>
</div>